﻿<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                    xmlns:taskModule="clr-namespace:WpfApplication1.TaskModule"
                    xmlns:contactModule="clr-namespace:WpfApplication1.ContactModule"
                    xmlns:wpf="clr-namespace:WpfApplication1.Wpf;assembly=WpfApplication1Core">

    <DataTemplate DataType="{x:Type wpf:CommandViewModel}">
        <TextBlock Margin="2,6">
            <Hyperlink Command="{Binding Command}">
                <TextBlock FontSize="18" Text="{Binding Path=DisplayName}" />
            </Hyperlink>
        </TextBlock>
    </DataTemplate>

    <DataTemplate DataType="{x:Type taskModule:TasksViewModel}">
        <taskModule:TasksView />
    </DataTemplate>

    <DataTemplate DataType="{x:Type contactModule:ContactsViewModel}">
        <contactModule:ContactsView />
    </DataTemplate>
    
</ResourceDictionary>